<!DOCTYPE html>
<style>
table {
    border-collapse: collapse;
}
td {
    background-color: #ddd;
    border: 1px solid black;
}
tr {
    break-inside: avoid;
}
</style>
<p>crbug.com/99124: Table rows shouldn't straddle page boundaries.</p>
<div style="-webkit-columns:6; line-height: 20px; column-fill: auto; height:190px; background-color: yellow;">
    <table>
        <tbody>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        </tbody>
        <tbody>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td class="td" data-total-y=191>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        </tbody>
        <tbody>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td class="td" data-total-y=381>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        <tr><td>Te</td><td>xt</td></tr>
        </tbody>
    </table>
</div>
<div id="console"></div>
<script src="../resources/check-layout.js"></script>
<script>
    checkLayout(".td", document.getElementById("console"));
</script>

